var counter1 = require('./util/counter.js');
var counter2 = require('./util/counter.js');

console.log(counter1.count());//1
console.log(counter2.count());//2
console.log(counter2.count());//3
//counter.js没有因为被require了两次而初始化两次